{* Smarty *}

<div class="header">{if $kv.warrantytype_id==""}Add{else}Edit{/if} setting pair</div><br />
<br />
<table cellpadding="2" cellspacing="1" border="1">
<form action="{geturl plugin=_this method="null"}" method="POST">
<input type="hidden" name="event" value="doSettingSubmit" />
<input type="hidden" name="wid" value="{$kv.warrantytype_id}" />
<tr class="light">
	<td style="text-align:right;padding-right:5px;">Warranty Name:</td>
	<td><input type="text" name="warrantytype_name" value="{$kv.warrantytype_name}" class="input_text" style="width: 350px;" /></td>
</tr>
<tr class="dark">
	<td style="text-align:right;padding-right:5px;">Description(<b><u>shown to client</u></b>):</td>
	<td><textarea name="warrantytype_description" class="input_text" style="width: 350px; height: 125px;">{$kv.warrantytype_description}</textarea></td>
</tr>

<tr class="light">
	<td style="text-align:right;padding-right:5px;">Months:</td>
	<td><input type="text" name="warrantytype_value_months" value="{$kv.warrantytype_value_months}" class="input_text" style="width: 30px;" /></td>
</tr>

<tr class="light">
	<td style="text-align:right;padding-right:5px;">Price:</td>
	<td><input type="text" name="warrantytype_price" value="{$kv.warrantytype_price}" class="input_text" style="width: 30px;" />$</td>
</tr>

<tr class="light">
	<td style="text-align:right;padding-right:5px;">Active:</td>
	<td><select name='is_active'>
	<option value='Y' {if $kv.is_active == 'Y'} selected {/if} >Yes</option>
	<option value='N' {if $kv.is_active == 'N'} selected {/if} >No</option>
	</td>
</tr>

<tr class="light">
	<td style="text-align:right;padding-right:5px;"></td>
	<td>
		<input type="submit" value="Submit " class="button" />
		<input type="button" value="Cancel " class="button" onclick="javascript: window.location.href='{geturl plugin=_this method="null" }'; " />
	</td>
</tr>
</form>
</table>
